export enum Role {
  admin = 'admin',
  common = 'common'
}

export type Roles = Role[]

export interface UserState {
  token?: string
  name?: string
  avatar?: string
  introduction?: string
  roles?: string[] | null
  email?: string
}
